package com.itheima.practice;
//编写工具类，在工具类中编写拷贝方法，传入目标文件路径和源文件路径，无返回值。
import com.itheima.practice.CopyApi;

import java.io.File;
import java.io.IOException;

public class CopyApiTest {
    public static void main(String[] args) throws IOException {
        File file1 = new File("C:\\Users\\峰大帝\\Desktop\\a.txt");
        File file2 = new File("C:\\Users\\峰大帝\\Desktop\\a2.txt");
        CopyApi.copy(file1,file2);
    }
}
